
<%@page import="dto.Cdd"%>
<%@page import="java.util.Iterator"%>
<%@page import="com.sun.xml.internal.bind.v2.schemagen.xmlschema.List"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	
	<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css' />
	<title>Registrar CDD</title> 
	<link rel="stylesheet" href="../style.css" />

</head>
<body>


<div id="conteudo" >


	<form action="../ManterCddControl" name="form1" method="post"> 
	
		<h1>Cadastre o CDD</h1>
				
		<fieldset id="user-details">	
		
			<input type="hidden" name="tipoRequisicao" value="cadastro" /> 
			
			<label for="nomecdd">Nome:</label>
			<input type="text" name="nomecdd" value="" /> 
	 			
		   <br />
		   
		</fieldset>
		
		<fieldset id="user-message">
		
			<input type="submit" value="Enviar" name="submit" class="submit" onclick="return validar()" />		
		
		</fieldset>
	</form>
	
<script language="javascript" type="text/javascript">
	function validar() {
		var nome = form1.nome.value;
		
 
	if (nome == "") {
		alert('Preencha o campo nome');
		form1.nome.focus();
	return false;
	}
	
	
}
	

function mascara(t, mask){
 	var i = t.value.length;
	 var saida = mask.substring(1,0);
 	var texto = mask.substring(i)
 	if (texto.substring(0,1) != saida){
 		t.value += texto.substring(0,1);
	 }
 }

</script>
	<div>	
 	<div id="rodape">
		<h5 align="center">PROJETO FINAL - I</h5>
		<center><font="" id="font__"> @Yuri @Rodrigo @Jonatas</font></center>
	</div>

</body>
</html>